<html xmlns:th="http://www.thymeleaf.org">
<div  th:fragment="cron_list">
    <!-- 网关列表 -->
    <blockquote class="layui-elem-quote news_search">
        <div class="layui-inline">
            <p>定时任务列表 </p>
        </div>
    </blockquote>
    <div class="layui-inline" style="height:40px;margin-top:3px;">
        <div class="layui-btn-group">
            <button class="layui-btn layui-btn-normal" data-type="add">
                <i class="layui-icon">&#xe608;</i>新增
            </button>
            <button class="layui-btn layui-btn-normal" data-type="update">
                <i class="layui-icon">&#xe642;</i>编辑
            </button>
            <button class="layui-btn layui-btn-normal" data-type="detail">
                <i class="layui-icon">&#xe605;</i>查看
            </button>
        </div>
    </div>
    <div class="layui-form cron_list">
        <table id="jobList" class="layui-hide layui-table" lay-filter="job"></table>
        <script type="text/html" id="toolBar">
            <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">查看</a>
            <a class="layui-btn layui-btn-xs  layui-btn-normal" lay-event="edit">编辑</a>
            {{#  if(d.status == '0'){ }}
            <a class="layui-btn layui-btn-xs  layui-btn-normal" lay-event="start">启动</a>
            {{#  } }}
            {{# if(d.status == '1'){ }}
            <a class="layui-btn layui-btn-xs  layui-btn-normal" lay-event="end">停止</a>
            {{#  } }}
            <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
        </script>
    </div>

</div>
